package com.itshops.dao;

import com.itshops.entity.Product;

import java.sql.SQLException;
import java.util.List;

public interface ProductDao {

    long selectCountBytId(String tId) throws SQLException;

    List<Product> selectProductByPage(int page, int pagesize, String tId) throws SQLException;

    Product selectProductByPid(String pId) throws SQLException;
}
